package cn.sise.edu.crm.mapper;

import cn.sise.edu.crm.domain.Customer;
import cn.sise.edu.crm.query.QueryObject;

import java.util.List;

public interface CustomerMapper {
    int insert(Customer record);

    Customer selectByPrimaryKey(Long id);

    List<Customer> selectAll();

    int updateByPrimaryKey(Customer record);
    int updateByStatus(Customer record);

    List<Customer> selectForList(QueryObject qo);
}